package com.baomidou.springwind.controller.supply;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.kisso.annotation.Permission;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.springwind.controller.BaseController;
import com.baomidou.springwind.entity.*;
import com.baomidou.springwind.mapper.*;
import com.baomidou.springwind.service.NetworkCostService;
import com.baomidou.springwind.service.NetworkSupplyService;
import com.baomidou.springwind.service.ProjectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.*;

/**
 * <p>
 * 物流网络规划成本性
 * </p>
 *
 * @Author huangtao
 * @Date 2017-8-21
 */
@Controller
@RequestMapping("/network/supply")
public class CostingAfterController extends BaseController {

    @Autowired
    private NetworkSupplyService networkSupplyService;

    @Autowired
    private NetworkSupplyDao networkSupplyDao;

    @Autowired
    private ProjectService projectService;
    @Autowired
    private NetworkCostService networkCostService;
    @Autowired
    private NetworkReliabilityDao networkReliabilityDao;
    @Autowired
    private NetworkDepotDao networkDepotDao;
    @Autowired
    private NetworkDepotGoodsDao networkDepotGoodsDao;
    @Autowired
    private NetworkAlgorithmStateDao networkAlgorithmStateDao;
    /**
     * 成本
     */
    @RequestMapping("/costingAfter")
    @Permission("1001")
    public String response(Model model){
        return pjaxPath("/lpp/network/supply/costingAfter/main", model);
    }

}
